﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Ext.Net;
using Sharp.Portal;
using Sharp.Portal.ExtNet;
using Sharp.Portal.Mvc;
using Sharp.Portal.Mvc.Form;

namespace Sharp.WebBooter.Areas.Platform.Models
{
    /// <summary>
    /// 组织机构层级
    /// </summary>
    public partial class OrgLevelModel : ISharpForm
    {
        public OrgLevelModel()
        {
            UI = new ExtSharpFrom(this);
        }
        [HiddenInput]
        public Guid Id { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        [Display(Name = "编码")]
        public string Code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        /// <value>标题</value>
        [Display(Name = "名称")]
        public string Title { get; set; }
       
        /// <summary>
        /// 备注
        /// </summary>
        /// <value>备注</value>
        [Display(Name = "备注"), DataType(DataType.MultilineText)]
        public string Remark { get; set; }

        public SharpFrom UI { get; set; }

    }
}